package com.nervytech.tutorcruise.course.beans;

import java.util.List;

import org.springframework.stereotype.Repository;

/**
 * Category entity. @author MyEclipse Persistence Tools
 */

@Repository("courseSearchResultPageBean")
public class CourseSearchResultPageBean {

	private int pageNum;
	private String requestType;
	private String courseViewType;

	private List<CourseSearchResultBean> resultsBeans;

	/**
	 * @return the pageNum
	 */
	public int getPageNum() {
		return pageNum;
	}

	/**
	 * @param pageNum
	 *            the pageNum to set
	 */
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	/**
	 * @return the resultsBeans
	 */
	public List<CourseSearchResultBean> getResultsBeans() {
		return resultsBeans;
	}

	/**
	 * @param resultsBeans
	 *            the resultsBeans to set
	 */
	public void setResultsBeans(List<CourseSearchResultBean> resultsBeans) {
		this.resultsBeans = resultsBeans;
	}

	/**
	 * @return the requestType
	 */
	public String getRequestType() {
		return requestType;
	}

	/**
	 * @param requestType
	 *            the requestType to set
	 */
	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	/**
	 * @return the courseViewType
	 */
	public String getCourseViewType() {
		return courseViewType;
	}

	/**
	 * @param courseViewType
	 *            the courseViewType to set
	 */
	public void setCourseViewType(String courseViewType) {
		this.courseViewType = courseViewType;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CourseSearchResultPageBean [pageNum=").append(pageNum)
				.append(", requestType=").append(requestType)
				.append(", courseViewType=").append(courseViewType)
				.append(", resultsBeans=").append(resultsBeans).append("]");
		return builder.toString();
	}
	
	

}